package com.foreknow.elm.framework;
//获取返回url的各个部分名字
public class Test {
    public static void main(String[] args) {
        String path = "/BusinessController/listBusinessByOrderTypeId";
        String className =  path.substring(1,path.lastIndexOf("/"));
        String methodName = path.substring(path.lastIndexOf("/")+1);
        System.out.println("类名"+className);
        System.out.println("方法名"+methodName);
    }
}